home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / asmutil / alib10.zip / ALIB2.DOC < prev    next >
Encoding:
Text File  |  1994-04-08  |  16.5 KB  |  230 lines

  1.  
  2. The following information summaries ALIB functions.  Functions are grouped
  3. into categories and then into modules.  The module is the smallest unit
  4. which the linker can handle.  The category is for descriptive purposes.
  5.  
  6.                                                                Category  Module
  7.                                                                --------  ------
  8. SHRINK - compress data block                                    compress huff
  9. EXPAND - expand data back to original state                     compress huff
  10.  
  11. GET_SETUP - read setup file from disk & write initial file      config   config
  12. CHANGE_SETUP - allow user to change setup configuration.        config   config
  13. WRITE_SETUP - write setup block to disk file                    config   config
  14. SET_LIB_COLORS - set a color for library use                    config   config
  15.  
  16. BYTE_TO_HEX_STR - convert hex byte to two ascii characters      convert  conv06
  17. BYTE_TO_HEX_CRT - convert hex byte to ascii and display         convert  conv06
  18. DEC_STR_TO_WORD -  convert unsigned ascii string to binary word convert  conv01
  19. DEC_STR_TO_DWORD - convert numeric string to double word        convert  conv02
  20. DEC_STRZ_TO_DWORD - convert numeric string to double word value convert  conv02
  21. DWORD_TO_DEC_STRX - convert dword to decimal ascii & format     convert  conv07
  22. DWORD_TO_DEC_CRTX - convert dword to decimal ascii and display  convert  conv07
  23. DWORD_TO_DEC_STR - convert a long integer value to a string     convert  conv03
  24. DWORD_TO_HEX_STR - convert hex double word to ascii             convert  conv06
  25. DWORD_TO_HEX_CRT - convert hex double word to ascii and display convert  conv06
  26. HEX_STR_TO_BYTE - convert 2 hex ascii characters to 1 hex byte  convert  conv05
  27. HEX_STR_TO_WORD - convert 4 hex ascii characters to 2 hex bytes convert  conv05
  28. WORD_TO_DEC_STR - convert an integer value to an ASCIIZ string  convert  conv04
  29. WORD_TO_DEC_CRT - display integer as decimal value              convert  conv04
  30. WORD_TO_HEX_STR - convert hex word to four ascii characters     convert  conv06
  31. WORD_TO_HEX_CRT - convert hex word to ascii and display         convert  conv06
  32.  
  33. DBASE_INIT  - initialize a database for use                     database dbase
  34. DBASE_READ - read specific record from the database             database dbase
  35. DBASE_READ_NEXT - read next sequential record                   database dbase
  36. DBASE_READ_PREV - read previous record                          database dbase
  37. DBASE_APPEND - append this record to end                        database dbase
  38. DBASE_INSERT - insert this record before specific record        database dbase
  39. DBASE_REPLACE - replace data for a specific record              database dbase
  40. DBASE_REMOVE - delete specific record                           database dbase
  41. DBASE_CLOSE - close & write any pending data to file            database dbase
  42. DBASE_KILL - delete dbase file                                  database dbase
  43.  
  44. FILE_COPY - copy a file                                         disk     disk1
  45. FILE_SIZE1 - find an open file's size                           disk     disk2
  46. FILE_SIZE2 - find a closed file's size                          disk     disk2
  47. FILE_COUNT - counts the number of files matching a filespec     disk     disk3
  48. FILE_FLUSH - flushes the DOS output buffer for specified handle disk     disk4
  49. FILE_EXIST - determines if a file exists and can be opened      disk     disk8
  50. EXPAND_FILENAME - Expand a file string to the full path         disk     disk9
  51. DECODE_FILENAME - build pointers to major portions of file name disk     diska
  52. FIND_HOME_PATH - get executing programs disk location           disk     diskb
  53. GET_PATH - finds paths in program environment                   disk     diskc
  54. CHANGE_PATH - switch to new directory, save current path first  disk     diskd
  55. RESTORE_PATH - switch to directory saved by CHANGE_PATH         disk     diskd
  56.  
  57. PUT_CRT_CHR - display single character                          display  crt1
  58. GET_CRT_CHR - read character and attribute from text screen     display  crt1
  59. REPEAT_PUT_CRT - displays a single char CX times                display  crt1
  60. PUT_CRT_BLK - copies a string to video memory buffer            display  crt2
  61. VERTICAL_REPEAT_CHR - repeat columns of a character vertically  display  crt2
  62. TABULAR_DRAW - Subroutine to draw using a table                 display  crt3
  63. CLEAR_SCREEN - fill screen with specified character and color   display  crt4
  64. DISPLAY_STRING - display string directly to video buffer        display  crt4
  65. DISPLAY_STRING_FILL - display string at specified position      display  crt4
  66. DISPLAY_STRING_LIST -  display a list of strings                display  crt4
  67. CLEAR_WINDOW - fill a rectangular area of screen                display  crt5
  68. DRAW_BOX - draw a box on screen                                 display  crt5
  69. WINDOW_STRING - display string in a window, handles cr/lf       display  crt5
  70. BOX_RIGHT - move box parameters right                           display  crt5
  71. BOX_LEFT -  move box parameters left                            display  crt5
  72. BOX_UP - move box parameters up one position                    display  crt5
  73. BOX_DOWN - move box parameters down one position                display  crt5
  74. BOX_EXPAND - expand box one position in all directions          display  crt5
  75. BOX_SHRINK - shrink box parameters one position                 display  crt5
  76. GET_ANSI_COLOR - find color attribute used by ANSI driver       display  crt6
  77. CURSOR_ - like SHOW_CURSOR, but the underscore cursor is used   display  crt6
  78. SHOW_CURSOR - move cursor to (row, col) and update cursor shape display  crt6
  79. HIDE_CURSOR - make hardware cursor invisible                    display  crt6
  80. BLINK_ON - enable blinking attributes                           display  crt6
  81. BLINK_OFF - disable blinking attributes                         display  crt6
  82. SAVE_WINDOW - save area of display in memory buffer             display  crt7
  83. RESTORE_WINDOW - restore a previously saved area of display     display  crt7
  84. DISK_TO_CRT - loads a screen image file saved by CRT_TO_DISK    display  crt8
  85. CRT_TO_DISK - saves a screen image to disk                      display  crt8
  86. POSN_TO_ADR - library internal usage only                       display  crt9
  87. ADR_TO_POSN - library internal usage only                       display  crt9
  88.  
  89. LIB_ERROR_HANDLER - handle pre defined library errors           error    error1
  90. ERROR_HANDLER - handle fatal errors                             error    error1
  91. ERROR_PRIME - setup error handler                               error    error2
  92. ERROR_TABLE_HANDLER - handle errors described in table          error    error2
  93. ERROR_FILE_HANDLER - handle errors described in file            error    error2
  94. SOUND_ON - enable sounds on speaker from BEEP or ONE_BEEP       error    error3
  95. SOUND_OFF - disable sounds on speaker from BEEP or ONE_BEEP     error    error3
  96. ONE_BEEP - beep once                                            error    error3
  97. BEEP make sound for number of milliseconds.                     error    error3
  98.  
  99. FLOAT_OPEN - open the floating point module & hardware for use  float    float1
  100. FLOAT_CLOSE - release the memory allocated by FLOAT_OPEN        float    float1
  101. BINARY_IN - double word binary to floating format               float    float2
  102. BINARY_OUT - floating format to double word binary              float    float2
  103. FMOVE - move floating point token variables                     float    float2
  104. F_SUBTRACT - floating point subtract                            float    float2
  105. F_ADDITION - floating point addition                            float    float2
  106. FCOMP - floating point compare                                  float    float2
  107. F_MULTIPLY - floating point multiply                            float    float2
  108. F_DIVIDE - floating point divide                                float    float2
  109. ROUND - round floating number to two decimal points             float    float2
  110. TEXT_OUT - floating point to ascii conversion                   float    float2
  111. TEXT_IN - ascii to floating point conversion                    float    float2
  112. FLOAT_SET - enable/disable hardware (not used at present)       float    float2
  113.  
  114. MEM_OPEN     - interrogate memory and setup database.           memory   memory
  115. MEM_ALLOCATE - allocate a block of memory.                      memory   memory
  116. MEM_PUT      - write to allocated memory area.                  memory   memory
  117. MEM_GET      - read from allocated memory area.                 memory   memory
  118. MEM_RELEASE  - release allocated memory block.                  memory   memory
  119. MEM_CLOSE    - close memory handler.                            memory   memory
  120. DOS_MEM_ALLOCATE - allocate dos memory for direct writes        memory   memory
  121. DOS_MEM_RELEASE - release DOS_MEM_ALLOCATE memory               memory   memory
  122. CHECK_FOR_EMS - detects EMS driver                              memory   memory
  123.  
  124. MENU_SYSTEM - Menu bar display and decode of user selection     menu   puldown1
  125. QMENU_SYSTEM - Quick pull down menu bar                         menu   puldown2
  126.  
  127. MESSAGE - boxed message display                                message   msg1
  128. RANDOM - generate random number                                message   msg2
  129. GET_RANDOM -  generate random number                           message   msg2
  130. QMESSAGE - Quick message display (msg in file)                 message   msg3
  131. QWARN - Quick message display (msg in mem)                     message   msg3
  132.  
  133. IS_ALPHA - determines if a key from KEY_READ is a-z            mouse/key mkey01
  134. IS_DIGIT - determines if a key from KEY_READ is number         mouse/key mkey02
  135. IS_LOWER - determine if a key from KEY_READ is lower case      mouse/key mkey03
  136. IS_UPPER - determine if a key from KEY_READ is upper case      mouse/key mkey04
  137. TO_UPPER - converts keycode returned by KEY_READ to upper case mouse/key mkey05
  138. TO_LOWER - converts keycode returned by KEY_READ to lower case mouse/key mkey06
  139. CAPS_ON - keyboard capslock key enabled                        mouse/key mkey07
  140. NUMLOCK_ON  - keyboard numlock key enabled                     mouse/key mkey07
  141. SCROLL_ON - keyboard scroll lock key enabled                   mouse/key mkey07
  142. INSERT_OFF - keyboard insert key disabled                      mouse/key mkey07
  143. CAPS_OFF - keyboard capslock key disabled                      mouse/key mkey07
  144. NUMLOCK_OFF - keyboard numlock key disabled                    mouse/key mkey07
  145. SCROLL_OFF - keyboard scroll lock key disabled                 mouse/key mkey07
  146. YES_OR_NO - wait for yes or no user response                   mouse/key mkey08
  147. FLUSH_KEYBOARD - clears the keyboard's 'type-ahead' buffer     mouse/key mkey09
  148. KEY_CHECK - determines if a key is waiting                     mouse/key mkey09
  149. KEY_READ - returns next key pressed                            mouse/key mkey09
  150. KEY_PUT - put key back into BIOS buffer                        mouse/key mkey10
  151. KEY_IF_READY - Returns key if one is waiting                   mouse/key mkey11
  152. SETUP_MOUSE - initializes mouse if present                     mouse/key mkey12
  153. MOUSE_PARMS - determine mouse position & buttons pressed       mouse/key mkey12
  154. KEY_OR_MOUSE - waits for keypress or mouse button click        mouse/key mkey13
  155. MOVE_MOUSE - position the mouse cursor                         mouse/key mkey14
  156. BOX_THE_MOUSE - limits mouse's range of motion                 mouse/key mkey15
  157. MOUSE_CURSOR_ON - enable the mouse cursor at BIOS level        mouse/key mkey15
  158. MOUSE_CURSOR_OFF - disable the mouse cursor at BIOS level      mouse/key mkey15
  159. GET_STRING - read string from the keyboard.                    mouse/key mkey16
  160. KEY_DECODE - analyze key and select processing                 mouse/key mkey16
  161. QGET_STRING - Quick call to get string & return when done      mouse/key mkey16
  162. window_edit - edit text within window                          mouse/key mkey17
  163. window_cstring - display text with hyper formatting            mouse/key mkey17
  164.  
  165. PARSE_FIRST - parse first argument from command line            parse    parse
  166. PARSE_NEXT - parse next command line parameter                  parse    parse
  167.  
  168. STRLEN1 - finds length of an ASCIIZ string in DS:SI             string   str01
  169. STRLEN2 - finds length of an ASCIIZ string in DS:DI             string   str01
  170. STRLEN3 - finds length of an ASCIIZ string in DS:BX             string   str01
  171. LAST_CHAR - find the last byte in a string matching AL          string   str02
  172. LAST_CHARC - find the last byte in n bytes matching AL          string   str02
  173. FIRST_CHAR - search an ASCIIZ string for a specified character  string   str03
  174. FIRST_CHARC - search n bytes string for a specified character   string   str03
  175. BUFFER_SEARCH - search string1 for first occurrence of string2  string   str04
  176. BUFFER_SEACHC - search a buffer for specified string            string   str04
  177. STR_SRCHC - limited length string search                        string   str05
  178. LAST_STR - finds the last match of target string1 in string2    string   str06
  179. LEGAL_CHAR_CHECK - scan target string for legal characters      string   str08
  180. ILLEGAL_CHAR_CHECK - scan target string for illegal characters  string   str09
  181. STR_UPPER - change lower-case characters to upper case          string   str16
  182. STR_UPPERC - changes lower-case characters in n-length string   string   str17
  183. STR_LOWER - changes bytes of a string to lower case             string   str19
  184. STR_LOWERC - changes n bytes of a string to lower case          string   str20
  185. STR_CENTER - centers a string in a fixed field                  string   str21
  186. STR_LEFT - left-justifies a string in a fixed field             string   str22
  187. STR_RIGHT - right-justifies a string in a fixed field           string   str23
  188. STR_CLEANL - remove leading blanks from an ASCIIZ string        string   str24
  189. STR_CLEANR - removes trailing blanks from an ASCIIZ string      string   str25
  190. STR_REMOVE - remove all occurrences of a character from string  string   str26
  191. STR_CHAR_DEL - deletes a character from a string                string   str27
  192. STR_CHAR_DELC - deletes a character from string of known length string   str27
  193. STR_REVERSE - reverses all characters in a string               string   str28
  194. STR_REVERSEC - reverses n characters in a string                string   str28
  195. STR_SWAP - swaps strings or portion of strings                  string   str29
  196. STR_CLEAN - sets all bytes of string to a specified character   string   str30
  197. STR_CLEANC - sets n bytes of string to a specified character    string   str30
  198. STR_JOIN - appends string2 at end of string1                    string   str31
  199. STR_INSERT - inserts string2 in string1 at specified offset.    string   str32
  200. STR_COPY - copy an ASCIIZ string to existing buffer             string   str33
  201. STR_COPYC - copy CX bytes to an existing buffer                 string   str33
  202.  
  203. LIBRARY_SETUP - setup library for use                           system   sys1
  204. LIBRARY_TERMINATE - close out library for program exit          system   sys1
  205. FIND_CPU_TYPE - detects cpu type                                system   sys1
  206. MATH_HARDWARE - determines if 80x87 math coprocessor present    system   sys1
  207. KEYBOARD_SETUP - determine type of keyboard attached            system   sys1
  208. FIND_MOUSE - determines if a mouse is installed                 system   sys1
  209. CHECK_ANSI - determines if ANSI is present                      system   sys1
  210. DISPLAY_INFO - analyze display type and return parameters       system   sys1
  211. DETECTVID -  determine display type                             system   sys1
  212. FIND_DISPLAY_SEGMENT - scan for current display buffer segment  system   sys1
  213. SPAWN_DOS - execute a second copy of DOS and application        system   sys2
  214. COUNT_FLOP_DRIVES - determine the number of floppy drives       system   sys3
  215. GET_DRV_TYPE - determine drive type                             system   sys3
  216. BREAK_KEY_INTERCEPT - initialize Ctrl+Break trap                system   sys4
  217. BREAK_KEY_RESTORE - restore previous Ctrl+Break handler         system   sys4
  218. BREAK_CHECK -  check if break key pressed                       system   sys4
  219.  
  220. DAYS_TO_DATE - date for a given number of days since 1-1-1980   time     time1
  221. MONTH_TO_ASCII - get ASCII string for specified month           time     time2
  222. DAY_TO_ASCII - get ASCII string for specified day               time     time2
  223. GET_TIME - get the current system time.                         time     time3
  224. ASC_TIME: Creates an ASCIIZ time string of the form HH:MM Xm.   time     time3
  225. GET_DATE - get the current system date and day of the week      time     time4
  226. GET_DAY - get the day of the week for a given date.             time     time4
  227. ASC_DATE - Creates an ASCIIZ date string of the form MM/DD/YY   time     time5
  228. DATE_TO_DAYS - get days between Jan 1, 1980 and a given date    time     time6
  229.  
  230.